<script setup lang="ts"> 
function hello1(){
  console.log("点击了hello1")
}
function hello2(){
  console.log("点击了hello2")
}
function hello3(){
  console.log("点击了hello3")
}
</script>

<template> 
<input type="button" value="按钮1" @click="hello1"></input>
<input type="button" value="按钮2" @click="hello2"></input>
<input type="button" value="按钮3" @click="hello3"></input>
</template>